﻿using MS.InformationManagement.Presenter.Support;
using MS.InformationManagement.DAL.RecordCenter;
using System.Collections.Generic;
using MS.InformationManagement.Presenter.TRDConfigGrid.Events;

namespace MS.InformationManagement.Presenter.TRDConfigGrid
{
    public interface ITRDConfigGridView : IView
    {
        IEnumerable<FondosFondo> Backdrops { get; set; }
        IEnumerable<FondosFondo> ChildBackdrops { get; set; }
        IEnumerable<SeccionesSeccion> Sections { get; set; }
        IEnumerable<SeccionesSeccion> Subsections { get; set; }
        IEnumerable<SeccionesSeccion> NonConfiguredSections { get; set; }

        FondosFondo Backdrop { get; set; }
        FondosFondo ChildBackdrop { get; set; }
        SeccionesSeccion Section { get; set; }
        SeccionesSeccion Subsection { get; set; }

        object TRDConfigItems { get; set; }
        object HistoricTRDConfigItems { get; set; }

        event BackdropChangeHandler OnBackdropChange;
        event SectionChangeHandler OnSectionChange;

        int TrdItemsPageIndex { get; set; }
        int TrdItemsPageSize { get; set; }
        int TrdItemsTotalRecords { get; set; }

        int HistoryItemsPageIndex { get; set; }
        int HistoryItemsPageSize { get; set; }
        int HistoryItemsTotalRecords { get; set; }

        int NonConfiguredSectionsPageIndex { get; set; }
        int NonConfiguredSectionsPageSize { get; set; }
        int NonConfiguredSectionsTotalRecords { get; set; }

        void ExportToCsv(string fileName, string fileContent);

    }
}
